[INFO] fetching crate xcb 1.7.0...
[INFO] fixing xcb-1.7.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate xcb 1.7.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate xcb 1.7.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate xcb 1.7.0
[INFO] tweaked toml for crates.io crate xcb 1.7.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate xcb 1.7.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate xcb 1.7.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e2768bc532ae6a5b37381f5138dd073d5b82819056c61b172569258fb85bdee3
[INFO] running `Command { std: "docker" "start" "e2768bc532ae6a5b37381f5138dd073d5b82819056c61b172569258fb85bdee3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e2768bc532ae6a5b37381f5138dd073d5b82819056c61b172569258fb85bdee3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2768bc532ae6a5b37381f5138dd073d5b82819056c61b172569258fb85bdee3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e2768bc532ae6a5b37381f5138dd073d5b82819056c61b172569258fb85bdee3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling xml-rs v0.8.28
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]     Checking simd-adler32 v0.3.8
[INFO] [stderr]    Compiling tiny-xlib v0.2.4
[INFO] [stderr]    Compiling x11 v2.21.0
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking ctor-lite v0.1.0
[INFO] [stderr]     Checking as-raw-xcb-connection v1.0.1
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling quick-xml v0.30.0
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]    Compiling xcb v1.7.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build/main.rs from 2018 edition to 2021
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/connect_str.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/threaded_window.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/screen_info.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/basic_window.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/print_setup.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/screenshot.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/drawing.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/get_all_windows.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/draw_root_window.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/connect.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.24s
[INFO] [stderr] crater-edition-check: xcb v1.7.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling xcb v1.7.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.37s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]     Checking xcb v1.7.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/event.rs (1 fix)
[INFO] [stderr]        Fixed src/lat1_str.rs (1 fix)
[INFO] [stderr]        Fixed src/ffi/dl.rs (1 fix)
[INFO] [stderr]        Fixed /opt/rustwide/target/debug/build/xcb-804d48690cfdb6f4/out/xc_misc.rs (1 fix)
[INFO] [stderr]        Fixed /opt/rustwide/target/debug/build/xcb-804d48690cfdb6f4/out/xproto.rs (117 fixes)
[INFO] [stderr]        Fixed src/base.rs (13 fixes)
[INFO] [stderr]        Fixed src/lib.rs (1 fix)
[INFO] [stderr]        Fixed src/error.rs (1 fix)
[INFO] [stderr]    Migrating examples/screenshot.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/screen_info.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/draw_root_window.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/threaded_window.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/connect_str.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed examples/connect_str.rs (1 fix)
[INFO] [stderr]    Migrating examples/get_all_windows.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/print_setup.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/drawing.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/connect.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed examples/connect.rs (1 fix)
[INFO] [stderr]    Migrating examples/basic_window.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.29s
[INFO] [stderr] crater-edition-check: xcb v1.7.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling xcb v1.7.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> build/cg/event.rs:74:35
[INFO] [stdout]    |
[INFO] [stdout] 74 |             if let Field::Field { ref mut name, .. } = f {
[INFO] [stdout]    |                                   ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]   --> build/cg/event.rs:74:20
[INFO] [stdout]    |
[INFO] [stdout] 74 |             if let Field::Field { ref mut name, .. } = f {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]    |
[INFO] [stdout] 74 -             if let Field::Field { ref mut name, .. } = f {
[INFO] [stdout] 74 +             if let Field::Field { name, .. } = f {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> build/cg/request.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 ref mut rs_typ,
[INFO] [stdout]    |                 ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]   --> build/cg/request.rs:57:20
[INFO] [stdout]    |
[INFO] [stdout] 57 |               if let Field::Field {
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 58 | |                 name,
[INFO] [stdout] 59 | |                 ref mut rs_typ,
[INFO] [stdout] 60 | |                 ..
[INFO] [stdout] 61 | |             } = param
[INFO] [stdout]    | |_____________^ this non-reference pattern matches on a reference type `&mut _`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]    |
[INFO] [stdout] 59 -                 ref mut rs_typ,
[INFO] [stdout] 59 +                 rs_typ,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `xcb` (build script) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "e2768bc532ae6a5b37381f5138dd073d5b82819056c61b172569258fb85bdee3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2768bc532ae6a5b37381f5138dd073d5b82819056c61b172569258fb85bdee3", kill_on_drop: false }`
[INFO] [stdout] e2768bc532ae6a5b37381f5138dd073d5b82819056c61b172569258fb85bdee3
